import actionType from "../actions";
let initState = { list: [] };

let userReducer = (state = initState, action: any) => {
  switch (action.type) {
    case actionType.USERLIST: //查询
      return { list: action.playload };
  }
  return state;
};
export default userReducer;
